package io.finer.erp.jeecg.stock.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 提货单
 * @Author: jeecg-boot
 * @Date:   2020-11-10
 * @Version: V1.0
 */
@ApiModel(value="stk_pick_up_bill对象", description="提货单")
@Data
@TableName("stk_pick_up_bill")
public class StkPickUpBill implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**订单ID*/
	@Excel(name = "订单ID", width = 15, dictTable = "zz_shoporder", dicText = "wo_partcode", dicCode = "id")
    @Dict(dictTable = "zz_shoporder", dicText = "wo_partcode", dicCode = "id")
    @ApiModelProperty(value = "订单ID")
    private java.lang.String orderId;
	/**工序ID*/
	@Excel(name = "工序ID", width = 15, dictTable = "zrk_order_process", dicText = "process_code", dicCode = "id")
    @Dict(dictTable = "zrk_order_process", dicText = "process_code", dicCode = "id")
    @ApiModelProperty(value = "工序ID")
    private java.lang.String processId;
	/**提货单编号*/
	@Excel(name = "提货单编号", width = 15)
    @ApiModelProperty(value = "提货单编号")
    private java.lang.String billNo;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "pick_up_status")
	@Dict(dicCode = "pick_up_status")
    @ApiModelProperty(value = "状态")
    private java.lang.String billStatus;
	/**是否使用*/
	@Excel(name = "是否使用", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否使用")
    private java.lang.Integer isEnabled;
	/**消息是否已经推送*/
    @Excel(name = "是否已经推送", width = 15)
    @ApiModelProperty(value = "是否已经推送")
    @Dict(dicCode = "yn")
    private java.lang.Integer isPush;
    /**设备*/
    @Excel(name = "设备", width = 15, dictTable = "zz_shoporder", dicText = "device_name", dicCode = "id")
    @ApiModelProperty(value = "设备")
    @Dict(dictTable = "zz_device", dicText = "device_name", dicCode = "id")
    private java.lang.String deviceId;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private java.lang.String material;
	/**规格*/
	@Excel(name = "规格", width = 15)
    @ApiModelProperty(value = "规格")
    private java.lang.String model;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal number;
	/**参数*/
	@Excel(name = "参数", width = 15)
    @ApiModelProperty(value = "参数")
    private java.lang.String parameter;
	/**胶供应商*/
	@Excel(name = "胶供应商", width = 15)
    @ApiModelProperty(value = "胶供应商")
	@Dict(dictTable = "bas_supplier", dicText = "name", dicCode = "id")
    private java.lang.String glueSupplier;
	/**底纸供应商*/
	@Excel(name = "底纸供应商", width = 15)
    @ApiModelProperty(value = "底纸供应商")
	@Dict(dictTable = "bas_supplier", dicText = "name", dicCode = "id")
    private java.lang.String paperSupplier;
	/**面纸供应商*/
	@Excel(name = "面纸供应商", width = 15)
    @ApiModelProperty(value = "面纸供应商")
	@Dict(dictTable = "bas_supplier", dicText = "name", dicCode = "id")
    private java.lang.String facialSupplier;
	/**Mes单ID*/
	@ApiModelProperty(value = "Mes单ID")
	@Excel(name = "Mes单ID", width = 15)
	@Dict(dictTable = "zrk_qz_order", dicText = "code", dicCode = "id")
	private java.lang.String mesId;
    /**是否删除*/
    @ApiModelProperty(value = "是否删除")
    @TableLogic
	private String delFlag;
    /**提货单类型*/
    @ApiModelProperty(value = "提货单类型")
    @Dict(dicCode = "yn")
    private String type;
}
